package com.wc.alorithm_blue_bridge._数学知识.库函数.Q1217;

import java.util.Scanner;

/**
 * @Author congge
 * @Date 2023/10/28 17:25
 * @description 解立方根
 * https://www.lanqiao.cn/problems/1217/learning/?page=1&first_category_id=1&sort=students_count&second_category_id=8
 */
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();

        int[] nums = new int[n];
        for (int i = 0; i < n; i++) {
            nums[i] = sc.nextInt();
        }
        for(int num:nums){
            System.out.printf("%.3f\n", Math.cbrt(num));
        }
    }
}
